package com.mrguo.entity.bsd;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @ClassName Goodssku
 * @Description sku表
 * @author 郭成兴
 * @date 2019/11/13 1:59 PM
 * @updater 郭成兴
 * @updatedate 2019/11/13 1:59 PM
 */

@Data
@Table(name = "bsd_goods_temp")
public class GoodsTemp {

    @Id
    @JsonSerialize(using = ToStringSerializer.class)
    @Column(name = "id")
    private Long id;

    private String code;

    private String name;

    private String remarks;

    private String status;

    @Transient
    @Column(name = "goods_name")
    private String goodsName;
    @Transient
    private String keywords;
}